﻿using Common.Contract.SystemConfig.Record;
using Common.Contract.SystemConfig.Request;
using Common.Contract.SystemConfig.Response;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace Common.Contract.SystemConfig
{
    [ServiceContract]
    public interface IConfiguration
    {
        #region Dictionary value
        [OperationContract]
        SearchDictionaryResponse SearchDictionary(SearchDictionaryRequest request);

        [OperationContract]
        RetrieveDictionaryResponse RetrieveDictionary(RetrieveDictionaryRequest request);

        [OperationContract]
        ResponseRecord DeleteDictionary(DeleteDictionaryRequest request);

        [OperationContract]
        ResponseRecord AddDictionary(AddDictionaryRequest request); 
        #endregion




        #region Application error log
        [OperationContract]
        SearchApplicationErrorResponse SearchApplicationError(SearchApplicationErrorRequest request);

        [OperationContract]
        ResponseRecord UpdateApplicationError(UpdateApplicationErrorRequest request); 
        #endregion
    }
}
